<!--
 * @LastEditTime : 2022-10-31 11:27:32
 * @FilePath     : /pyy/src/components/RadioCircle/index.vue
 * @Description  : 公共组件 > radio圆形选中(基于vant radio组件重写icon)
-->
<template>
  <van-radio v-bind="$attrs" v-on="$listeners">
    <slot></slot>
    <template #icon="props">
      <svg-icon name="circle_select" v-show="props.checked" />
      <svg-icon name="circle" v-show="!props.checked" />
    </template>
  </van-radio>
</template>

<script>
export default {
  name: "RadioCircle",
};
</script>
